import { defineStore } from 'pinia'

export default defineStore('useSystem', {
    state: () => ({
        time: Date.now(),
        info: {} as SystemModel
    }),
    getters: {},
    actions: {
        setTime(time: number) {
            this.time = time
        },
        setInfo(info: SystemModel) {
            this.info = info
        }
    }
})